<include file="public:header" />
<div class="allpagetop">系统设置<strong>/</strong>其他</div>
<div class="admin_main_nr_dbox">
<div class="pagetit">
	        <div class="ptit">系统设置</div>
				<include file="Config/topnav" /> 
	        <div class="clear"></div>
	    </div>
		
		
    <div class="toptit">注册协议</div>
  <form action="{:RU('config/edit')}" method="post"   name="FormData" id="FormData" >
	  <div class="admin_form_main" style="padding-left:20px;">
	   
	 <textarea   name="YTATA_AGREEMENT"   style="width:680px;height:300px;visibility:hidden;" >{$show.YTATA_AGREEMENT}</textarea>

	 
	<div style=" margin-top:20px;">	
 <input name="" type="submit" class="admin_submit big"    value="保存配置"/>
	</div>
	
	
	<div class="clear"></div>	
	  </div>
  
  
 
  
  
   
  </form>
</div>
<include file="public:footer" />
<script src="__ROOT__/{:C('YTATA_ADMINTPL_DIR')}/public/js/kindeditor/kindeditor-min.js"></script>
<script src="__ROOT__/{:C('YTATA_ADMINTPL_DIR')}/public/js/kindeditor/lang/zh_CN.js"></script>
<script>
      var editor;
      KindEditor.ready(function(K) {
        editor = K.create('textarea[name="YTATA_AGREEMENT"]', {
          uploadJson : "?m=admin&c=upload&a=index",
          allowFileManager : true
        });
        K('input[name=Submit2]').click(function(e) {
          editor.html('');
        });
      });
</script>
</body>
</html>